<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title><spring:message code="project.title"></spring:message>-<spring:message code="login.title"></spring:message></title>
		<link rel="stylesheet" type="text/css" href="${res }/login/css/style.css" />
		<link rel="stylesheet" type="text/css" href="${res }/login/css/body.css"/> 
	</head>
	<body>
		<div class="container">
			<section id="content">
				<form action="${ctx }/manager/login.jhtml" method="post">
					<h1><spring:message code="login.title"></spring:message></h1>
					<div style="text-align:left;color:red;padding-left:10px;">
						<c:if test="${username != null && username ne '' }">
							<spring:message code="login.error.invalid"></spring:message>
						</c:if>
					</div>
					<div>
						<input type="text" placeholder="<spring:message code="login.username.placeholder"></spring:message>" required="" name="username" id="username" value="${username }" />
					</div>
					<div>
						<input type="password" placeholder="<spring:message code="login.password.placeholder"></spring:message>" required="" name="password" id="password" />
					</div>
					 <div class="">
						<span class="help-block u-errormessage" id="js-server-helpinfo">&nbsp;</span>			</div> 
					<div>
						<input type="submit" value="<spring:message code="login.submit.button"></spring:message>" class="btn btn-primary" id="js-btn-login"/>
						<a href="#"><spring:message code="login.forget.password"></spring:message></a>
						<!-- <a href="#">Register</a> -->
					</div>
				</form>
				<!-- <div class="button">
					<span class="help-block u-errormessage" id="js-server-helpinfo">&nbsp;</span>
					<a href="#">下载网盘</a>	
				</div> --> <!-- button -->
			</section><!-- content -->
		</div>
		<!-- container -->
	</body>
</html>